package org.siam.impl.data.formatters {
	
	import mx.formatters.Formatter;
	
	import org.siam.core.data.formatters.IFormattersManager;
	import org.siam.impl.data.DataManagerXMLHandler;

	public class FormattersManagerXMLHandler extends DataManagerXMLHandler {
		
		public function FormattersManagerXMLHandler() {
			super(FormattersManager, 
				  Formatter,
				  "formatter",
				  {ifNull: String, ifEmpty: String});
		}
		
		public static function read(input:XML):IFormattersManager {
			return new FormattersManagerXMLHandler().read(input) as IFormattersManager;
		}
	}
}